home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
MSDOS
/
(m)aan
/
CTUTOR2.ARC
/
SINGLEIO.C
< prev
next >
Wrap
Text File
|
1986-03-29
|
384b
|
16 lines
#include "stdio.h"
main()
{
char c;
printf("Enter any characters, terminate program with X\n");
do {
c = getch(); /* get a character */
putchar(c); /* display the hit key */
} while (c != 'X');
printf("\nEnd of program.\n");
}